﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Sinacor.Servico.Bovespa.Contabil.Service.ServiceImplementation.Translator.DataContractToBusinessEntity
{
    public class IntegracaoContabil
    {
        #region Construtor

        public IntegracaoContabil()
        {
        }

        #endregion

        #region Metodos

        /// <summary>
        /// ToFiltroIntegracaoContabil
        /// </summary>
        /// <param name="from"></param>
        /// <returns></returns>
        public BusinessEntity.Parameter.FiltroIntegracaoContabil ToFiltroIntegracaoContabil(DataContract.Request.FiltroIntegracaoContabilRequest from)
        {
            if (from == null) return null;

            return new Sinacor.Servico.Bovespa.Contabil.BusinessEntity.Parameter.FiltroIntegracaoContabil
            {
                DataMovimento = from.DataMovimento
            };
        }

        #endregion
    }
}
